<div class="comment">
<h2>Edit Comment</h2>
	<?php echo $form->create('Comment');?>
		<?php echo $form->input('id');?>
		<?php echo $form->input('post_id', array('options' => $posts));?>
		<?php echo $form->input('user_id', array('options' => $users));?>
		<?php echo $form->input('title');?>
		<?php echo $form->input('body');?>
		<?php echo $form->input('published');?>
		<?php echo $form->submit('Update');?>
	</form>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link('Delete', array('action'=>'delete', $html->tagValue('Comment/id')), null, 'Are you sure you want to delete #' . $html->tagValue('Comment/id')); ?>
		<li><?php echo $html->link('List Comments', array('action'=>'index')); ?></li>
		<li><?php echo $html->link('View Posts', array('controller'=> 'posts', 'action'=>'view')); ?></li>
		<li><?php echo $html->link('Add Posts', array('controller'=> 'posts', 'action'=>'add')); ?></li>
		<li><?php echo $html->link('View Users', array('controller'=> 'users', 'action'=>'view')); ?></li>
		<li><?php echo $html->link('Add Users', array('controller'=> 'users', 'action'=>'add')); ?></li>
	</ul>
</div>
